glarea: Fix buffer initialization
authorTimm Bäder <mail@baedert.org>
Wed, 28 Aug 2019 08:05:48 +0000 (10:05 +0200)
committerTimm Bäder <mail@baedert.org>
Mon, 9 Sep 2019 15:36:25 +0000 (17:36 +0200)
commitb9473bc99c0bf658558e575243de219d0d02d237
tree6fc7c9bcd2f8f957c7f92aa7b905e3c092b1293f
parentcbc3ce5b0315ba99cd2f841cc614655c4d236781
glarea: Fix buffer initialization

This only worked when the vao id and the buffer id accidentally matched,
for example when running gtk4-demo with --run=glarea

Fixes #2042
demos/gtk-demo/glarea.c